
package com.yuke.cloud.service.api.uac.service.hystrix;

import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageInfo;
import com.yuke.cloud.common.util.wrapper.Wrapper;
import com.yuke.cloud.service.api.smc.dto.ShopInfoDto;
import com.yuke.cloud.service.api.uac.dto.*;
import com.yuke.cloud.service.api.uac.service.UacUserFeignApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * The class Opc oss feign api hystrix.
 *
 * @author
 */
@Slf4j
@Component
public class UacUserFeignApiHystrix implements UacUserFeignApi {

	@Override
	public Wrapper<List<WarehouseAdminUserDto>> getWarehouseAdmins(final Long groupId) {
		return null;
	}

	@Override
	public Wrapper<UserInfoDto> getUserInfoByUserId(Long userId) {
		return null;
	}

	@Override
	public Wrapper<List<UserInfoDto>> getUserInfoByUserIds(List<Long> userIds) {
		return null;
	}


	@Override
	public Wrapper modifyUserType(ModifyUserTypeDto modifyUserTypeDto) {
		return null;
	}

	@Override
	public Wrapper<List<UserLoginInfoDto>> getUserDeviceToken(Long userId) {
		return null;
	}

	@Override
	public Wrapper<GroupInfoDto> getGroupInfoByGroupId(Long groupId){
		log.info("getGroupInfoByGroupId熔断");
		return null;
	}

	@Override
	public Wrapper updateUserGroup(Long userId,  Long groupId) {
		log.info("updateUserGroup熔断");
		return null;
	}

	@Override
	public Wrapper<Integer> updateAmountBalance(UserInfoDto userInfoDto) {
		log.info("updateAmountBalance熔断");
		return null;
	}

	@GetMapping("/api/uac/user/getUserInfoDto")
    @Override
	public Wrapper<List<UserInfoDto> > getUserInfoDto(String loginName) {
		log.info("getUserInfoDto熔断");
		return null;
	}

	@Override
	public Wrapper<PageInfo<UserInfoDto>> getUserPageByUserIds(JSONObject jsonObject){
		log.info("getUserPageByUserIds熔断");
		return null;
	}

	@Override
	public Integer autoRegisterUserAndShop(JSONObject jsonObject) {
		log.info("autoRegisterUserAndShop熔断");
		return null;
	}

	@Override
	public Wrapper<List<UserInfoDto> > selectEmployInfo(AccEmployeeInfoDto accEmployeeInfoDto) {
		log.info("selectEmployInfo熔断");
		return null;
	}

	@Override
	public List<Map> countWorkDay(Map countMap){
		log.info("countWorkDay熔断");
		return null;
	}



	@Override
	public SupplierApiDto findSupplierById(Long supplierId) {
		log.info("findSupplierById熔断");
		return null;
	}

	@Override
	public List<SupplierApiDto> findSupplierByIds(List<Long> Ids) {
		log.info("findSupplierByIds熔断");
		return null;
	}

	@Override
	public Integer updateSupplierById(SupplierApiDto supplierApiDto) {
		log.info("updateSupplierById熔断");
		return null;
	}

	@Override
	public Integer saveUserDeliveryAddress(@RequestBody ShopInfoDto shopInfoDto){
		log.info("saveUserDeliveryAddress熔断");
		return null;
	}
}
